package com.aios.util;

import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import com.aios.model.Tap;

public class MappingUtil {

	public static Map<Integer, List<Integer>> TapGroupMap = 
			new TreeMap<Integer, List<Integer>>();
	
	public static Map<Integer, Tap> Tap = new TreeMap<Integer, Tap>();
	
	static {
		TapGroupMap.put(0, Arrays.asList(new Integer[]{7, 13}));
		TapGroupMap.put(1, Arrays.asList(new Integer[]{1, 5, 8}));
		TapGroupMap.put(2, Arrays.asList(new Integer[]{2, 3}));
		TapGroupMap.put(3, Arrays.asList(new Integer[]{6, 10, 12, 15}));
		TapGroupMap.put(4, Arrays.asList(new Integer[]{4, 9, 11, 14}));
		
		Tap.put(1, new Tap(1, "ラジオ"));
		Tap.put(2, new Tap(2, "テレビ"));
		Tap.put(3, new Tap(3, "Bulb-1"));
		Tap.put(4, new Tap(4, "Fan"));
		Tap.put(5, new Tap(5, "Coffee Machine"));
		Tap.put(6, new Tap(6, "エアコン"));
		Tap.put(7, new Tap(7, "PC"));
		Tap.put(8, new Tap(8, "エアコン"));
		Tap.put(9, new Tap(9, "Router"));
		Tap.put(10, new Tap(10, "Wireless Router"));
		Tap.put(11, new Tap(11, "Gas Cooker"));
		Tap.put(12, new Tap(12, "Printer"));
		Tap.put(13, new Tap(13, "Washing Maching"));
		Tap.put(14, new Tap(14, "Alarm"));
		Tap.put(15, new Tap(15, "CCTV Camera"));
	}
}
